package com.kyl.service.impl;


import com.kyl.mapper.FloorMapper;
import com.kyl.service.FloorService;
import com.kyl.vo.FloorVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title FloorServiceImpl
 * @description
 * @create 2025/1/18
 */
@Service
@Slf4j
public class FloorServiceImpl implements FloorService {
    @Resource
    private FloorMapper floorMapper;
    @Override
    public List<FloorVo> getAllFloorsWithNur() {
        return floorMapper.getAllFloorsWithNur();
    }

    @Override
    public List<FloorVo> getAllFloors() {
        return floorMapper.getAllFloors();
    }
}
